package cn.kgc.gl.service;

import cn.kgc.gl.dao.DetailDao;
import cn.kgc.gl.pojo.Detail;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author:
 * @date: 2022/1/2
 * @description:
 */
@Service
public class DetailServiceImpl implements DetailService {
    @Resource
    private DetailDao detailDao;

    @Override
    public List<Detail> selDetails() {
        return detailDao.selDetails();
    }

    @Override
    public int addDetails(Detail detail) {
        return detailDao.addDetails(detail);
    }
}